package com.xuyuan.thread.create;

public class MyRunnable implements Runnable {
    public static void main(String[] args) {
        Thread thread = new Thread(new MyRunnable());
        thread.start();
    }

    @Override
    public void run() {
        // TODO 线程执行逻辑
        System.out.println("hello");
    }
}


